<div class="con-r-wrap">
  <script>
  function check_help_keyword(){
    var keyword = $('#help-search').val();
    var rewrite_enabled = $('#rewrite_enabled').val();
    if(keyword == ''){
      alert('请输入您要搜索的关键字!');
      return false;
    }
    if(rewrite_enabled == '1' ){
      var search_url = SITE_URL+'/article/keyword/'+keyword+'.html';
      window.location.href=search_url;
      return false;
    }
    
  }
</script>
  <form action="index.php" method="get" onsubmit="return check_help_keyword()">
    <div class="f-cb help-search-w">
      <div class="f-fl valid-d">
        <input type="hidden" name="app" value="article" />
        <input type="hidden" id="rewrite_enabled" value="{$rewrite_enabled}" />
        <input type="text" name="help_keyword" class="help-search" value="{$help_keyword}" id="help-search" onfocus="wl.focusInput(this)" onblur="wl.blurInput(this)" />
        <!--{if !$keyword}-->
        <label for="help-search">简单描述问题或问题关键字，如“忘记密码”</label>
        <!--{/if}--> </div>
      <div class="f-fl">
        &nbsp;&nbsp;
        <input type="submit" value="搜索" class="subbtnhs" />
      </div>
    </div>
    <div class="help-search-s"> <i>热门搜索：</i>
      <a href="{url app=article&help_keyword=收藏商品}">收藏商品</a>
      <a href="{url app=article&cate_id=21}">支付方式</a>
      <a href="{url app=article&cate_id=33}">物流配送</a>
      <a href="{url app=article&help_keyword=礼品卡}">礼品卡</a>
    </div>
  </form>
</div>